<!DOCTYPE html>
<html>
<#include "../head.html">
<body class="full">
    <div class="mc">
        <div class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "../borrow/leftForSaBorrow.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </div>
        <div class="mc-m">
            <div class="navToggle"></div>
        </div>
        <div class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->

                <!--面包屑导航---{-->
                <#assign moduleName="债权人账户资金">
                    <#include "banner.html">
                        <!--面包屑导航---}-->

                        <!--工具栏--{-->
                        <div id="toolbar" class="clearfix">

                            <div class="toolbor-module search">
                                <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                            </div>

                            <div class="toolbor-module search">
                                <div class="formTit">用户名：</div>
                                <input type="text" name="username" id="username" value="请输入用户名"  class="search-value">
                            </div>


                        </div>
                        <!--工具栏--}-->

                        <div id="main" class="clearfix">
                            <form action="" method="post">
                                <table class="data-list">
                                    <tr class="header">
                                        <td>序号ID</td>
                                        <td>用户名</td>
                                        <td>真实姓名</td>
                                        <td>总金额</td>
                                        <td>可用余额</td>
                                        <td>冻结金额</td>
                                        <td>待收金额</td>
                                        <td>待还金额</td>
                                        <td>操作</td>
                                    </tr>
                                    <#list list as item>
                                        <tr class="s">
                                            <td>${item.userId!''}</td>
                                            <td>${item.userName!''}</td>
                                            <td>${item.realName!''}</td>
                                            <td>${item.account.total!''}</td>
                                            <td>${item.account.useMoney!''}</td>
                                            <td>${item.account.noUseMoney!''}</td>
                                            <td>${item.account.collection!''}</td>
                                            <td>${item.account.repay!''}</td>
                                            <td><a href="/admin/account/viewCashRecord.html?userId=${item.userId?c}">查看提现记录</a></td>
                                        </tr>
                                    </#list>
                                </table>
                            </form>

                            <!--底部工具栏--{-->
                            <div id="bottomToolbar" class="clearfix">
                                <div class="other-tool">
                                    <dl class="refresh-data">
                                        <dt class="refresh-data-icon"></dt>
                                        <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                    </dl>
                                </div>

                                <!--翻页系统--{-->
                                <div class="container s_formPage">
                                    <#import "../../common/page.html" as pager>
                                        <@pager.pagination page=page url="${pageUrl}" map=param style="style1" />
                                </div>
                                <!--翻页系统--}-->
                            </div>
                            <!--底部工具栏--}-->

                            <script>
                                var urls = '?search=true';
                                function sousuo(){
                                    var sou = "";
                                    var username = $("#username").val();
                                    if (username!=null&&username!=""&&username!="undefine"&&username!="请输入用户名"){
                                        sou += "&username="+username;
                                    }
                                    var url=urls+sou
                                    location.href=url;
                                }
                            </script>
                        </div>
        </div>
    </div>
    <div class="mc-b"><#include "../foot.html"></div>
    <#include "../jsPage.html">
</body>
</html>